import { WeaTools } from 'ecCom';

// 列表数据
export const getMonitor = params => {
  return WeaTools.callApi('/api/meeting/monitor/getMonitor', 'POST', params);
};

// 删除
export const monitorDelete = params => {
  return WeaTools.callApi('/api/meeting/monitor/delete', 'POST', params);
};

// 高级搜索条件
export const getCondition = params => {
  return WeaTools.callApi('/api/meeting/monitor/getCondition', 'POST', params);
};

// 提前结束
export const over = params => {
  return WeaTools.callApi('/api/meeting/monitor/over', 'POST', params);
};

// 取消会议
export const cancel = params => {
  return WeaTools.callApi('/api/meeting/monitor/cancel', 'POST', params);
};